<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>成功案例</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../css/bootstrap4.5.min.css">
    <link rel="stylesheet" href="../css/public.css">
    <link rel="stylesheet" href="../css/swiper-bundle.min.css">
    <style>
        .case_lists_title { 
            text-align: center;
        }

        .case_lists_title h2 {
            color: var(--c_text);
            font-size: var(--f_title);
            line-height: var(--l_title);

        }

        .case_lists_title p {
            color: var(--c_subtitle);
            font-size: var(--f_describe);
            line-height: var(--l_describe);
            margin-top: 22px;

        }

        .swiper-container {
            width: 100%;
            height: 300px;
            margin-left: auto;
            margin-right: auto;
        }

        .gallery-top {
            height: 500px;
            width: 1200px;
            margin-top: 60px;
        }

        .gallery-top img {
            width: 100%;
            height: 100%;
        }

        .gallery-thumbs {
            height: 120px;
            padding: 10px 0;
            width: 540px;
        }

        .gallery-thumbs img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .gallery-thumbs .swiper-slide {
            width: 25%;
            height: 100%;
            opacity: 0.4;
        }

        .gallery-thumbs .swiper-slide-thumb-active {
            opacity: 1;
            border: 1px solid black;
        }

        @media(max-width:1200px) {
            .case_lists_title p {
                margin-top: 10px;
            }

            .gallery-top {
                height: 400px;
                width: 100%;
                margin-top: 30px;
            }
        }

        @media(max-width:768px) {
            .gallery-top {
                height: 350px;
            }
        }
        @media(max-width:550px) {
            .gallery-top {
                height: 250px;
            }

        .gallery-thumbs {
            display: none;
        }
        }
    </style>
</head>

<body>
    <div class="case_lists modular">
        <div class="case_lists_title">
            <h2>更多成功案例</h2>
            <p>MORE SUCCESS STORIES</p>
        </div>
        <div class="swiper-container gallery-top">
            <div class="swiper-wrapper">
                <div class="swiper-slide"><img src="../images/case_list_2_1.jpg" alt=""></div>
                <div class="swiper-slide"><img src="../images/case_list_2_2.jpg" alt=""></div>
                <div class="swiper-slide"><img src="../images/case_list_2_3.jpg" alt=""></div>
                <div class="swiper-slide"><img src="../images/case_lists_four.webp" alt=""></div>
            </div>
        </div>
        <div class="swiper-container gallery-thumbs">
            <div class="swiper-wrapper">
                <div class="swiper-slide"><img src="../images/case_list_2_1.jpg" alt=""></div>
                <div class="swiper-slide"><img src="../images/case_list_2_2.jpg" alt=""></div>
                <div class="swiper-slide"><img src="../images/case_list_2_3.jpg" alt=""></div>
                <div class="swiper-slide"><img src="../images/feature_3.png.webp" alt=""></div>
            </div>
        </div>
    </div>
    <script src="../js/swiper-bundle.min.js"></script>
    <script>
        var galleryThumbs = new Swiper('.gallery-thumbs', {
            spaceBetween: 10,
            slidesPerView: 4,
            freeMode: true,
            watchSlidesVisibility: true,
            watchSlidesProgress: true,
        });
        var galleryTop = new Swiper('.gallery-top', {
            loop: true,
            autoplay: {
                delay: 3000
            },
            spaceBetween: 10,
            thumbs: {
                swiper: galleryThumbs
            }
        });
    </script>
</body>

</html>